home *** CD-ROM | disk | FTP | other *** search
- /*
- ** $Id: getenv.rexx,v 1.1 1995/02/12 22:14:01 rkr Exp $
- **
- ** Retrieve a named env. VAR (checks env: only)
- **
- ** Unlike some AmigaDOS env. operators, the file _must_ be in the env:
- ** dir. I.e., you can _not_ override the directory info by putting a
- ** colon in the VAR name.
- **
- */
- parse arg var
- contents = getfile( 'env:'var )
- return contents
-